package com.qfedu.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * 公众号：Java架构栈
 * @Author: 卓不凡
 */
@RestController
@RequestMapping("student")
public class StudentController {
    @RequestMapping("add")
    public String add(){
        System.out.println("add方法");
        return "add";
    }
    @RequestMapping("delete")
    public String delete(){
        System.out.println("delete方法");
        return "delete";
    }
    @RequestMapping("update")
    public String update(){
        System.out.println("update方法");
        return "update";
    }
}
